package com.eshop.modules.order.service.dto;

import java.math.BigDecimal;

public class TemplateDto
{
    private Double number;
    private BigDecimal price;
    private Double first;
    private BigDecimal firstPrice;
    private Double _continue;
    private BigDecimal continuePrice;
    private Integer tempId;
    private Integer cityId;
    
    public static TemplateDtoBuilder builder() {
        return new TemplateDtoBuilder();
    }
    
    public Double getNumber() {
        return this.number;
    }
    
    public BigDecimal getPrice() {
        return this.price;
    }
    
    public Double getFirst() {
        return this.first;
    }
    
    public BigDecimal getFirstPrice() {
        return this.firstPrice;
    }
    
    public Double get_continue() {
        return this._continue;
    }
    
    public BigDecimal getContinuePrice() {
        return this.continuePrice;
    }
    
    public Integer getTempId() {
        return this.tempId;
    }
    
    public Integer getCityId() {
        return this.cityId;
    }
    
    public void setNumber(final Double number) {
        this.number = number;
    }
    
    public void setPrice(final BigDecimal price) {
        this.price = price;
    }
    
    public void setFirst(final Double first) {
        this.first = first;
    }
    
    public void setFirstPrice(final BigDecimal firstPrice) {
        this.firstPrice = firstPrice;
    }
    
    public void set_continue(final Double _continue) {
        this._continue = _continue;
    }
    
    public void setContinuePrice(final BigDecimal continuePrice) {
        this.continuePrice = continuePrice;
    }
    
    public void setTempId(final Integer tempId) {
        this.tempId = tempId;
    }
    
    public void setCityId(final Integer cityId) {
        this.cityId = cityId;
    }
    
    public TemplateDto(final Double number, final BigDecimal price, final Double first, final BigDecimal firstPrice, final Double _continue, final BigDecimal continuePrice, final Integer tempId, final Integer cityId) {
        this.number = number;
        this.price = price;
        this.first = first;
        this.firstPrice = firstPrice;
        this._continue = _continue;
        this.continuePrice = continuePrice;
        this.tempId = tempId;
        this.cityId = cityId;
    }
    
    public TemplateDto() {
    }
    
    public static class TemplateDtoBuilder
    {
        private Double number;
        private BigDecimal price;
        private Double first;
        private BigDecimal firstPrice;
        private Double _continue;
        private BigDecimal continuePrice;
        private Integer tempId;
        private Integer cityId;
        
        TemplateDtoBuilder() {
        }
        
        public TemplateDtoBuilder number(final Double number) {
            this.number = number;
            return this;
        }
        
        public TemplateDtoBuilder price(final BigDecimal price) {
            this.price = price;
            return this;
        }
        
        public TemplateDtoBuilder first(final Double first) {
            this.first = first;
            return this;
        }
        
        public TemplateDtoBuilder firstPrice(final BigDecimal firstPrice) {
            this.firstPrice = firstPrice;
            return this;
        }
        
        public TemplateDtoBuilder _continue(final Double _continue) {
            this._continue = _continue;
            return this;
        }
        
        public TemplateDtoBuilder continuePrice(final BigDecimal continuePrice) {
            this.continuePrice = continuePrice;
            return this;
        }
        
        public TemplateDtoBuilder tempId(final Integer tempId) {
            this.tempId = tempId;
            return this;
        }
        
        public TemplateDtoBuilder cityId(final Integer cityId) {
            this.cityId = cityId;
            return this;
        }
        
        public TemplateDto build() {
            return new TemplateDto(this.number, this.price, this.first, this.firstPrice, this._continue, this.continuePrice, this.tempId, this.cityId);
        }
        
        @Override
        public String toString() {
            return "TemplateDto.TemplateDtoBuilder(number=" + this.number + ", price=" + this.price + ", first=" + this.first + ", firstPrice=" + this.firstPrice + ", _continue=" + this._continue + ", continuePrice=" + this.continuePrice + ", tempId=" + this.tempId + ", cityId=" + this.cityId + ")";
        }
    }
}
